package com.world.lzh.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @version 1.0
 * @Author lzh
 * @Date 2022/4/26 - 20:26
 **/
@RequestMapping("/test")
@RestController
public class TestController {

    @GetMapping("/testTrue")
    public String testTrue() {
        return "123";
    }

    @GetMapping("testFalse")
    public String testFalse() {
        Map map = null;
        return map.toString();
    }
}
